<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>window对象</title>
</head>
<body>

</body>

<script>
    var title = window.document.title;
    // window.location.reload();
    var width = window.outerWidth;
    var height = window.outerHeight;
    var host = window.location.host;
    var href = window.location.href;

    var appname = window.navigator.appName;
    var appVersion = window.navigator.appVersion;
    var platForm = window.navigator.platform;
    var scrwidth = window.screen.width;
    window.alert(scrwidth);
    // window.alert(platForm);
    // window.alert(appVersion);
    // window.alert(appname);
    // window.alert(host);
    // window.alert(href);
    // window.alert(width);
    // window.alert(title);
    window.close();
</script>


